//
//  SecondCategories.m
//  悠狸
//
//  Created by Grant on 15/8/30.
//  Copyright (c) 2015年 Dung. All rights reserved.
//

#import "SecondCategories.h"


@implementation SecondCategories
- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super init];
    if (self != nil) {
        self.icon_url = [dic objectForKey:@"icon_url"];
        self.name = [dic objectForKey:@"name"];
        self.myId = [dic objectForKey:@"id"];
        self.order = [dic objectForKey:@"order"];
        self.status = [dic objectForKey:@"status"];
        self.items_count = [dic objectForKey:@"items_count"];
        self.parent_id = [dic objectForKey:@"parent_id"];
    }
    return self;
}
@end
